package com.zhike.common.dto;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 好友请求
 */
@Data
public class FriendRequestDTO {

    @ApiModelProperty(value = "添加我为好友的方式", example = "0其它1群聊2二维码3名片", required = true)
    @NotNull(message = "缺少参数srcFrom")
    private String srcFrom;

    @ApiModelProperty(value = "将要被添加的好友虚拟UID", required = true)
    @NotNull(message = "缺少参数friendFakeUId")
    @NotEmpty(message = "参数friendFakeUId不能是空")
    private String friendFakeUId;

    @ApiModelProperty(value = "验证说明", example = "加好友时的验证说明")
    @NotEmpty(message = "参数desc不能是空")
    private String desc;

}
